package com.nq.activaity.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 奖品列表
 * @Author: jeecg-boot
 * @Date:   2024-11-05
 * @Version: V1.0
 */
@Data
@TableName("st_company_act_prize")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class StCompanyActPrize implements Serializable {
    private static final long serialVersionUID = 1L;

	// 邮寄
	public static final String ENTITY_POST_TYPE = "entity-post";
	// 现金
	public static final String CASH = "cash";
	// 积分
	public static final String INTEGRAL = "integral";
	// 未中奖
	public static final String NO_PRIZE_TYPE = "no-prize";

	/** * 已领取 */
	public static final Integer IS_PRIZE_Y = 1;

	/** * 未领取 */
	public static final Integer IS_PRIZE_N = 0;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    private String id;
	/**类型*/
	@Excel(name = "类型", width = 15)
    private String type;
	/**奖品编码*/
	@Excel(name = "奖品编码", width = 15)
    private String prizeCode;
	/**奖品名称*/
	@Excel(name = "奖品名称", width = 15)
    private String prizeName;
	/**奖品标题*/
	@Excel(name = "奖品标题", width = 15)
    private String prizeTitle;
	/**奖品图片*/
	@Excel(name = "奖品图片", width = 15)
    private String prizePic;
	/**中奖概率*/
	@Excel(name = "中奖概率", width = 15)
    private BigDecimal lotteryRate;
	/**状态*/
	@Excel(name = "状态", width = 15)
    private Integer status;
	/**排序号*/
	@Excel(name = "排序号", width = 15)
    private Integer displayNo;
	/**跳转地址*/
	@Excel(name = "跳转地址", width = 15)
    private String jumpUrl;
}
